define at3_ldapserver($ldapsuffix,$ldaprootpw) {
  package { [ "openldap", "openldap-servers", "openldap-clients" ] :
    ensure => installed,
  }
  
  service { [ "ldap"]:
    hasstatus => true,
    hasrestart => true,
    ensure => running,
    enable => true,
  }
  
  file { "/etc/openldap/slapd.conf":
    owner => "root",
    group => "root",
    mode => 644,
    content => template("at3_ldapserver/slapd.conf.tpl"),
    notify => Service["ldap"],
  }

}

define at3_ldapserver_reverse($webaddr, $roleid) {
}

